package cn.chinaunicom.mini.program.dingtalk.openapi.model.enums;

import lombok.Getter;
import lombok.Setter;

/**
 * @ProjectName: dingtalk-adapter
 * @Package: cn.chinaunicom.mini.program.dingtalk.openapi.model.enums
 * @ClassName: BarStatus
 * @Description: java类作用描述
 * @Author: wangjc
 * @CreateDate: 2024/6/18
 * @UpdateUser: wangjc
 * @UpdateDate: 2024/6/18
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
@Getter
public enum BarStatus {
    /**
     * 审批状态颜色参考
     * 已同意 0xFF78C06E
     * 已拒绝 0xFFF65E5E
     * 已撤销 0xFF858E99
     * 待审批 0xFFFF9D46
     */
    AGREE("已同意","0xFF78C06E"),
    REFUSE("已拒绝","0xFFF65E5E"),
    REVOKE("已撤销","0xFF858E99"),
    WAIT("待审批","0xFFFF9D46");

    private String name;

    private String bgColor;

    BarStatus(String name, String bgColor) {
        this.bgColor = bgColor;
        this.name = name;
    }
}
